import pandas as pd
import pandas.io.data as web
from datetime import datetime

start_time = datetime(2019, 1, 1)
end_time = datetime(2019, 10, 1)

df = web.DateRender('xhm', 'Amazon', start, end)

print(df)

class DataAnalysis(object):
    def __init__(self):
        print("init")

    def get_file(self):
        return ''
